<nz-layout style="background-color: #fff">
  <nz-header>ソース自動生成</nz-header>

  <nz-content>
    <div class="input-group">
      <span class="input-group-addon" style="width: 120px; text-align: left"
        >キーワード：</span
      >
      <input
        type="text"
        class="form-control"
        style="width: 300px; margin-right: 10px"
        id="inputScreenId"
      />
      <button class="btn btn-primary" type="button" (click)="onSearch()">
        SEARCH
      </button>
    </div>
    <table
      id="example"
      class="table table-striped table-bordered table-hover"
      cellspacing="0"
      style="width: 1000px; margin-top: 10px"
    >
      <thead class="thead-light">
        <tr>
          <th scope="col">選択</th>
          <th scope="col">クラス種類</th>
          <th scope="col">クラス名（日本語）</th>
          <th scope="col">クラス名（物理名）</th>
          <th scope="col">処理ID</th>
          <th scope="col">サブパッケージ</th>
          <th scope="col">責務</th>
          <!--<th scope="col">ステータス</th>-->
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let v of srcTypes$; let radioIndex = index">
          <td>
            <input
              type="radio"
              name="selectRadio"
              value="{{ v.classId }}"
              (click)="checkedRadio(v.classId, v.classType, v.classPakage)"
            />
          </td>
          <td>{{ v.classType }}</td>
          <td>{{ v.classComment }}</td>
          <td>{{ v.classId }}</td>
          <td>{{ v.processingId }}</td>
          <td>{{ v.classPakage }}</td>
          <td>{{ v.responsibility }}</td>
        </tr>
      </tbody>
    </table>

    <button class="btn btn-primary" (click)="gotoCreateclass()">
      ソース生成
    </button>
    <button class="btn btn-primary" (click)="gotoCreateJunit()">
      Junit生成(DtoTestだけ)
    </button>
    <span>C:\temp</span>
  </nz-content>
</nz-layout>
